package com.cskaoyan.gateway.form.order;

import com.mall.order.dto.OrderItemDto;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.util.List;

/**
 * 订单详情响应封装
 * @author Javid Xi
 * @version 1.0
 * @since 2021/7/22
 */
@Data
@ApiModel
public class OrderDetail {

   @ApiModelProperty(name = "username", value = "姓名")
   private String username;

    @ApiModelProperty(name = "orderTotal", value = "订单总金额")
    private BigDecimal orderTotal;

    @ApiModelProperty(name = "userId", value = "用户id")
   private long userId;

    @ApiModelProperty(name = "goodsList", value = "商品链表")
   private List<OrderItemDto> goodsList;

    @ApiModelProperty(name = "tel", value = "电话号码")
   private String tel;

    @ApiModelProperty(name = "streetName", value = "街道")
   private String streetName;

    @ApiModelProperty(name = "orderStatus", value = "订单状态")
   private Integer orderStatus;


}
